package com.jyx.healthsys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.sql.Date;
import java.util.Objects;

@Entity
@Data
@Table(name = "health_goals", schema = "mysql_baota")
@TableName("health_goals")
public class HealthGoals implements Serializable {
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Id
    @Column(name = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private int id;
    @Basic
    @TableField(value = "goal_category")
    @Column(name = "goal_category")
    private String goalCategory;
    @Basic
    @TableField(value = "specific_goal")
    @Column(name = "specific_goal")
    private String specificGoal;
    @Basic
    @TableField(value = "start_date")
    @Column(name = "start_date")
    private String startDate;
    @Basic
    @TableField(value = "end_date")
    @Column(name = "end_date")
    private String endDate;
    @Basic
    @TableField(value = "progress")
    @Column(name = "progress")
    private String progress;
    @Basic
    @TableField(value = "remarks")
    @Column(name = "remarks")
    private String remarks;
}
